package com.hmall.common;

public class BaseContext {

    private static final ThreadLocal<Long> tl = new ThreadLocal<>();

    public static void setCurrentId(Long id) { tl.set(id);}

    public static Long getCurrentId(){ return tl.get(); }
}
